package com.hxzy.mapper.shengpi;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxzy.dto.shengpi.ItemSearchDTO;
import com.hxzy.entity.shengpi.ShengpiProject;
import com.hxzy.vo.shengpi.ShengpiProjectVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 审批项目(2)
 */
@Mapper
public interface ShengpiProjectMapper  extends BaseMapper<ShengpiProject> {

    ShengpiProject selectByPrimaryKey(Long id);

    /**
     * 审批项目
     * @param searchDTO
     * @return
     */
    List<ShengpiProjectVO> search(@Param(value = "dto") ItemSearchDTO searchDTO);
}